{include file='imobile_header.tpl'}

<div id="topbar">
  <div id="leftnav"> 
    <a href="user_home.php"><img alt="home" src="./include/imobile/iwebkit/images/home.png" /></a>
    <a href="javascript:history.go(-1);">{lang_print id=11340015}</a>
  </div> 
  <div id="title"> 
    {lang_print id=11340064}
  </div>
  <div id="bluerightbutton"><a href="browse_groups.php">{lang_print id=11340062}</a></div>
</div>


<div id="content">

  <div id="profile_overview">
    <img src="{$group->group_photo("./images/nophoto.gif")}" width="90" />
    <div>
      <span class="name">{$group->group_info.group_title}</span>
    </div>
    
  </div>
  <div style="clear: both"></div>


  {if !empty($group->group_info.group_desc)}
  <span class="graytitle">{lang_print id=2000255}</span>
  <ul class="pageitem">
    <li class="textbox">
      {$group->group_info.group_desc}
    </li>
  </ul>
  {/if}
  
  
  <span class="graytitle">{lang_print id=2000229}</span>
  <ul class="pageitem">
        {section name=officer_loop loop=$officers}
        <li class="textbox">
          <a href='{$url->url_create("profile", $officers[officer_loop].member->user_info.user_username)}'>{$officers[officer_loop].member->user_displayname}</a>{if $officers[officer_loop].groupmember_rank == 2} {lang_print id=2000230}{/if}
            {if $officers[officer_loop].groupmember_title != "" && $group->groupowner_level_info.level_group_titles == 1}
            <div class='group_officer_title'>{$officers[officer_loop].groupmember_title}</div>
            {/if}
        </li>
        {/section}
  </ul>


  
  <span class="graytitle">{lang_print id=2000254}</span>
  <ul class="pageitem">
    <li class="key_value">
      <span class="key">{lang_print id=2000256}</span>
      <span class="value">
        {if $groupcat_info.subcat_dependency == 0}
          <a href='browse_groups.php?groupcat_id={$groupcat_info.subcat_id}'>{lang_print id=$groupcat_info.subcat_title}</a>
        {else}
          <a href='browse_groups.php?groupcat_id={$groupcat_info.cat_id}'>{lang_print id=$groupcat_info.cat_title}</a> 
          - <a href='browse_groups.php?groupcat_id={$groupcat_info.subcat_id}'>{lang_print id=$groupcat_info.subcat_title}</a>
        {/if} 
      </span>          
    </li>
  
            {section name=cat_loop loop=$cats}
              {section name=field_loop loop=$cats[cat_loop].fields}
                <li class="key_value">
                  <span class="key">{lang_print id=$cats[cat_loop].fields[field_loop].field_title}:</span>
                  <span class="value">{$cats[cat_loop].fields[field_loop].field_value_formatted}</span>
                </li>
              {/section}
            {/section}
  </ul>            
                   
</div>

{include file='imobile_footer.tpl'}
